package com.example.backend.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xwyzsn
 * @since 2023-03-07
 */
@Data
public class Project_user implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * project id
     */
    private Integer projectId;

    /**
     * project num
     */
    private Integer userId;
    private String code ;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getProject_id() {
        return projectId;
    }

    public void setProject_id(Integer projectId) {
        this.projectId = projectId;
    }
    public Integer getUser_id() {
        return userId;
    }

    public void setUser_id(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Project_user{" +
            "id=" + id +
            ", projectId=" + projectId +
            ", userId=" + userId +
        "}";
    }
}
